package com.flea.hclv.model.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.flea.hclv.model.entity.HAddress;
import org.springframework.stereotype.Component;


public interface HAddressMapper {
    int deleteByPrimaryKey(String id);

    int insert(HAddress record);

    int insertSelective(HAddress record);

    HAddress selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HAddress record);

    int updateByPrimaryKey(HAddress record);

	HAddress findByRelattionUuid(@Param("uuid")String relationUuid);
	/**
	 * 根据关联id删除，软删除
	 * @description
	 * @methodName deleteByUuids
	 * @param
	 * @returnType void   
	 * @throw
	 */
	void deleteByUuids(@Param("uuids")List<String> relationUuidArray);

    HAddress selectByUuid(String uuid);

    List<HAddress> selectByParams(@Param("province")String province, @Param("city")String city, @Param("area")String area);


}